﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTopDichVu.ascx.cs" Inherits="TTMarketing.CameraUserControl.DichVu.ucTopDichVu" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>

<asp:DetailsView ID="DetailsView1" runat="server" Width="100%" 
    AutoGenerateRows="False" DataSourceID="ObjectDataSource1" GridLines="None" 
    EnableViewState="False">
    <FooterTemplate>
    <div class="main-content-title">
   
     <img src="../Styles/Images/web_camera.png" alt="" width="20" height="20" 
            align="absmiddle" />Dịch vụ</div>
     <div class="main-content-palce">
          <div class="main-content">
        <table class="style1">
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Font-Bold="True" 
                        Text='<%# Eval("Title") %>'></asp:Label>
                    <br />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("Summary") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:HyperLink ID="HyperLink1" runat="server" 
                        NavigateUrl='<%# Eval("ID", "~/dich-vu.aspx?id={0}") %>'>Xem chi tiết</asp:HyperLink>
                </td>
            </tr>
        </table>
        </div>
                     <div class="main-content-botton">
            </div>
            </div>
    </FooterTemplate>
</asp:DetailsView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
    SelectMethod="getTopByType" TypeName="TTBusiness.ClassDB.clsBSNews">
    <SelectParameters>
        <asp:Parameter DefaultValue="8" Name="type" Type="Int32" />
        <asp:Parameter DefaultValue="1" Name="top" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>

